<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<link href="<s:url value='/css/main.css'/>" rel="stylesheet"
	type="text/css" />
<script type="text/javascript" language="JavaScript"
	src="<s:url value='/js/jquery/jquery-1.3.2.min.js'/>"></script>
<script type="text/javascript"
	src="<s:url value='/js/DatePicker/DatePicker.js'/>"></script>
<title>资源审核</title>
</head>
<body>
<s:if test="%{message != null}">
	<font color="red"><s:property value="message" escape="false" /></font>
</s:if>
<br />
<s:if test="%{item != null}">
<s:form action="ResourceAuditSave" namespace="/" method="post">
<s:hidden name="item.id"></s:hidden>
<s:hidden name="p"></s:hidden>
<table width="100%" border="0" cellpadding="3" cellspacing="1"
	bgcolor="#E2E2E2">
	<tr class="tr1">
		<td colspan="4">资源审核</td>
	</tr>
	<tr class="tab">
		<td class="td1">资源名：</td>
		<td><s:property value="item.fileName" /></td>
		<td class="td1">Content-Type：</td>
		<td><s:property value="item.contentType" /></td>
	</tr>
	<tr class="tab">
		<td class="td1">上传者@IP：</td>
		<td><s:property value="item.uploadUserName" />@<s:property value="item.uploadIp" /></td>
		<td class="td1">上传时间：</td>
		<td><s:property value="item.uploadTime" /></td>
	</tr>
	<tr class="tab">
		<td class="td1">资源描述：</td>
		<td colspan="3"><s:property value="item.description" /></td>
	</tr>
	<tr class="tab">
		<td class="td1">附件下载：</td>
		<td colspan="3"><a target="_blank" href="<s:url value='/ResourceDownload.do?p=%{p}' />"><s:property value="item.fileName" /></a></td>
	</tr>
	<tr class="tab">
		<td class="td1">审核结果：</td>
		<td colspan="3"><s:radio name="item.auditResult" list="#{'2':'审核通过','3':'审核不通过'}"></s:radio></td>
	</tr>
	<tr class="tab">
		<td class="td1">备注：</td>
		<td colspan="3"><s:textarea name="item.auditRemark" cols="50" rows="5"></s:textarea></td>
	</tr>
	<tr class="tab">
		<td class="td1">下载地址：</td>
		<td colspan="3">
			网页下载:<a target="_blank" href="<s:property value="item.HttpDownAddress" />"><s:property value="item.HttpDownAddress" /></a>
			<br/>FTP下载:<a target="_blank" href="<s:property value="item.FtpDownAddress" />"><s:property value="item.FtpDownAddress" /></a>
		</td>
	</tr>
	<tr class="tab">
		<td colspan="4"><s:submit cssClass="button" value="提交审核结果"></s:submit></td>
	</tr>
</table>
</s:form>
</s:if>
<br />
</body>
</html>